package com.offcn.seckill.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 秒杀商品
 *
 * @author 秋林
 * @date 2022/10/18 16:49:40
 */
@ApiModel(description = "SeckillGoods",value = "SeckillGoods")
@TableName(value="tb_seckill_goods")
public class SeckillGoods implements Serializable{

	/**
	 * id
	 */
	@ApiModelProperty(value = "",required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
	private Long id;

	/**
	 * spu ID
	 */
	@ApiModelProperty(value = "spu ID",required = false)
    @TableField(value = "goods_id")
	private Long goodsId;

	/**
	 * sku ID
	 */
	@ApiModelProperty(value = "sku ID",required = false)
    @TableField(value = "item_id")
	private Long itemId;

	/**
	 * 标题
	 */
	@ApiModelProperty(value = "标题",required = false)
    @TableField(value = "title")
	private String title;

	/**
	 * 商品图片
	 */
	@ApiModelProperty(value = "商品图片",required = false)
    @TableField(value = "small_pic")
	private String smallPic;

	/**
	 * 原价格
	 */
	@ApiModelProperty(value = "原价格",required = false)
    @TableField(value = "price")
	private String price;

	/**
	*秒杀价格
	 */
	@ApiModelProperty(value = "秒杀价格",required = false)
    @TableField(value = "cost_price")
	private String costPrice;

	/**
	 * 商家ID
	 */
	@ApiModelProperty(value = "商家ID",required = false)
    @TableField(value = "seller_id")
	private String sellerId;

	/**
	 * 添加日期
	 */
	@ApiModelProperty(value = "添加日期",required = false)
    @TableField(value = "create_time")
	private Date createTime;

	/**
	 * 审核日期
	 */
	@ApiModelProperty(value = "审核日期",required = false)
    @TableField(value = "check_time")
	private Date checkTime;

	/**
	 * 审核状态
	 */
	@ApiModelProperty(value = "审核状态",required = false)
    @TableField(value = "status")
	private String status;

	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间",required = false)
    @TableField(value = "start_time")
	private Date startTime;

	/**
	 * 结束时间
	 */
	@ApiModelProperty(value = "结束时间",required = false)
    @TableField(value = "end_time")
	private Date endTime;

	/**
	 * 秒杀商品数
	 */
	@ApiModelProperty(value = "秒杀商品数",required = false)
    @TableField(value = "num")
	private Integer num;

	/**
	 * 剩余库存数
	 */
	@ApiModelProperty(value = "剩余库存数",required = false)
    @TableField(value = "stock_count")
	private Integer stockCount;

	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述",required = false)
    @TableField(value = "introduction")
	private String introduction;


	public Long getId() {	//get方法
		return id;
	}


	public void setId(Long id) {	//set方法
		this.id = id;
	}

	public Long getGoodsId() {	//get方法
		return goodsId;
	}


	public void setGoodsId(Long goodsId) {	//set方法
		this.goodsId = goodsId;
	}

	public Long getItemId() {	//get方法
		return itemId;
	}


	public void setItemId(Long itemId) {	//set方法
		this.itemId = itemId;
	}

	public String getTitle() {	//get方法
		return title;
	}


	public void setTitle(String title) {	//set方法
		this.title = title;
	}

	public String getSmallPic() {	//get方法
		return smallPic;
	}


	public void setSmallPic(String smallPic) {	//set方法
		this.smallPic = smallPic;
	}

	public String getPrice() {	//get方法
		return price;
	}


	public void setPrice(String price) {	//set方法
		this.price = price;
	}

	public String getCostPrice() {	//get方法
		return costPrice;
	}


	public void setCostPrice(String costPrice) {	//set方法
		this.costPrice = costPrice;
	}

	public String getSellerId() {	//get方法
		return sellerId;
	}


	public void setSellerId(String sellerId) {	//set方法
		this.sellerId = sellerId;
	}

	public Date getCreateTime() {	//get方法
		return createTime;
	}


	public void setCreateTime(Date createTime) {	//set方法
		this.createTime = createTime;
	}

	public Date getCheckTime() {	//get方法
		return checkTime;
	}


	public void setCheckTime(Date checkTime) {	//set方法
		this.checkTime = checkTime;
	}

	public String getStatus() {	//get方法
		return status;
	}


	public void setStatus(String status) {	//set方法
		this.status = status;
	}

	public Date getStartTime() {	//get方法
		return startTime;
	}


	public void setStartTime(Date startTime) {	//set方法
		this.startTime = startTime;
	}

	public Date getEndTime() {	//get方法
		return endTime;
	}


	public void setEndTime(Date endTime) {	//set方法
		this.endTime = endTime;
	}

	public Integer getNum() {	//get方法
		return num;
	}


	public void setNum(Integer num) {	//set方法
		this.num = num;
	}

	public Integer getStockCount() {	//get方法
		return stockCount;
	}


	public void setStockCount(Integer stockCount) {	//set方法
		this.stockCount = stockCount;
	}

	public String getIntroduction() {	//get方法
		return introduction;
	}


	public void setIntroduction(String introduction) {	//set方法
		this.introduction = introduction;
	}
}
